package com.insigma.business.qrcode.common.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;


@Data
public class ZzdEmployeeDetailBO implements Serializable {
    private static final long serialVersionUID = 6851086088729904919L;

    public ZzdEmployeeDetailBO() {

    }

    public ZzdEmployeeDetailBO(String employeeName, String accountId, String govCode, String mobile, String quanzhi) {
        this.employeeName = employeeName;
        this.accountId = accountId;
        this.govCode = govCode;
        this.status = "A";
        this.empGender = "1";
        ZzdPositionDetailBO po = new ZzdPositionDetailBO();
        po.setOrganizationCode(govCode);
        po.setGovEmpPosPhoneNo(mobile);
        po.setStatus("A");
        po.setGovEmpPosJob(quanzhi);
        po.setEmpPosEmployeeRoleCode(quanzhi);
        po.setOrderInOrganization(1);
        po.setMainJob(true);
        positions.add(po);
    }



    private String employeeName;
    private Date gmtCreate;
    
    private String status;
    private String employeeCode;
    private String empGender;
    private String govEmpRemarks;
    private String govEmpAvatar;
    private String empJobLevelCode;
    private String empBudgetedPostCode;
    private String empPoliticalStatusCode;

    private String govCode;
    
    private List<ZzdPositionDetailBO> positions = new ArrayList<>();
    private String accountId;
}
